/**
 * @author Paul Liu
 */

#ifndef _OBJECT_R_H_
#define _OBJECT_R_H_

#include "stddef.h"

#define INTERFACE_TYPE 0
#define CLASS_TYPE     1

typedef struct Class Class;

typedef struct Object {
  Class const * class;
} Object;

struct Class {
  Object _;

  int type;
  char const * name;
  int id;
  Class const * super;
  size_t size;
};

#endif /* End #ifndef _OBJECT_R_H_ */
